<ul class="brandmenu">
	<li style="font-size:20px;font-weight:bold;"><a href="http://www.siliconsolar.com/shop-by-brand/" class="button" style="line-height:40px;">Shop By Brand</a>
    	<ul>
<?php
	$brandpagelone = new WP_Query('post_type=page&post_parent=27221&posts_per_page=-1&orderby=menu_order'); ?>
	<?php while ($brandpagelone->have_posts()) : $brandpagelone->the_post(); ?>
    	
        <?php $childpageloneid = get_the_ID(); ?>
        <li>
        	<a href="<?php the_permalink(); ?>">
        		<?php
					$banned = 'By Brand';
					$brandtitle = get_the_title();
					$nobrandtitle   = str_ireplace($banned, ' ', $brandtitle);
					echo $nobrandtitle;
				?>
        	</a>
		</li>
        
    <?php endwhile ?>
<?php wp_reset_postdata(); ?>
		</ul>
	</li>
</ul>